﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>驰骋工作流</title>
    <!-- 引用通用的js文件. -->
    <script language="JavaScript" src="/WF/Comm/JS/Calendar/WdatePicker.js" defer="defer"type="text/javascript"></script>
    <link href="../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="../Img/ccbpm.ico" type="image/x-icon" />
    <script type="text/javascript" src="../Scripts/jquery-1.7.2.min.js"></script>
    <script language="JavaScript" src="../Comm/JScript.js"  type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/QueryString2016.js"></script>
     <!-- 导入配置文件. -->
    <script type="text/javascript" src="../Scripts/config.js"></script>
    <script type="text/javascript" src="../Comm/Gener.js"></script>

    <script type="text/javascript" language="javascript" >


        $(function () {

            //   alert(html);
            $("#Msg").html('在重构过程中...');

            var nodeID = GetQueryString("FK_Node");
            var flowNo = GetQueryString("FK_Flow");
            var workID = GetQueryString("WorkID");
            var fid = GetQueryString("FID");

            node = new Entity("BP.WF.Node", nodeID);

            var gwfs = new Entities("BP.WF.GenerWorkFlows");
            gwfs.Retrieve("FID", workID);


        })
         

        //删除子线城.
        function DoDelSubFlow(flowNo, workID) {

            if (confirm('您缺少要终止该子线程吗？') == false)
                return;

            var handler = new HttpHandler("BP.WF.HttpHandler.WF_WorkOpt");
            handler.AddPara("FK_Flow", flowNo);
            handler.AddPara("WorkID", workID);

            var data = handler.DoMethodReturnString("ThreadDtl_DelSubFlow");
            window.location.href = window.location.href;
        }

    </script>
</head>
<body>

<form id="cc">

<center><div id="Msg"> <img src='../Img/loading.gif' alt="" />正在加载，请稍后。。。 </div></center>
</form>

</body>
</html>
